../.
error.pl
auto.smbfs v3
auto.smbfs

auto.smbfs is a linux automounter script that does for samba what auto.ftpfs did for ftp... (well duh)
Usage is pretty straightforward:

  • copy script to /etc/autofs/auto.smbfs
    cp auto.smbfs /etc/autofs/auto.smbfs
  • set executable
    chmod 0755 /etc/autofs/auto.smbfs
  • include this line in auto.master:
    /mnt/smbfs /etc/autofs/auto.smbfs --timeout=60
  • presto

    cd /mnt/smbfs/HOSTNAME_IPADDRESS_SHARENAME
    IPADDRESS is optional but can be handy with this crooked protocol :-^[vomit]

    Using this script its fairly trivial to set up a smb2www or smb2ftp gateway, ..
    On apache do remember to turn AllowOverride off on these dirs ;)

    more...

  •